using UnityEngine;
public class FileBullet : MonoBehaviour
{
    public GameObject bulletPrefab; // 子弹预制体
    public void Fire()
    {
        GameObject bullet = Instantiate(bulletPrefab, transform.position, transform.rotation);
    }
}